package leetcode.matrix;

import leetcode.matrix.common.MatrixUtils;

class Solution2319 {
    public boolean checkXMatrix(int[][] grid) {
        return MatrixUtils.checkXMatrix(grid);
    }
}


public class leetcode2319 {
    public static void main(String[] args) {
        Solution2319 solution2319 = new Solution2319();
        int[][] grid = {{2, 0, 0, 1}, {0, 3, 1, 0}, {0, 5, 2, 0}, {4, 0, 0, 2}};
        System.out.println(solution2319.checkXMatrix(grid));
    }
}
